package com.woniuxy.sale.service;

import com.woniuxy.response.CustomPage;
import com.woniuxy.model.entity.ExportTable;
import com.woniuxy.sale.entity.dto.SalePackManageDTO;
import com.woniuxy.sale.entity.vo.AddDemandVo;
import com.woniuxy.sale.entity.vo.SalePackManageVo;
import com.woniuxy.sale.entity.vo.SalePackVo;
import com.woniuxy.sale.entity.vo.UpdateSalePackVo;

import java.util.List;

/**
 * <p>
 * 打包单; 服务类
 * </p>
 *
 * @author lio
 * @since 2023-09-07
 */
public interface SalePackService {

    boolean add(SalePackVo salePackVo);

    boolean updateState(UpdateSalePackVo updateSalePackVo);

    CustomPage<List<SalePackManageDTO>> managePack(SalePackManageVo salePackManageVo);

    List<String> findAllPno();

    boolean exportSalePack(ExportTable table);

    boolean addDemand(AddDemandVo addDemandVo);
}
